package com.beamfield.dao.process;

import com.beamfield.model.ProcMbaz;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public interface ProcMbazMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProcMbaz record);

    int insertSelective(ProcMbaz record);

    ProcMbaz selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProcMbaz record);

    int updateByPrimaryKey(ProcMbaz record);

    List<ProcMbaz> selectByNoticeId(@Param("noticeId") String noticeId, @Param("userId") Long userId);
}